﻿@page
@model Core.Web.Pages.chat.ConsoleModel
@{
    ViewData["Title"] = "Console";
}

<h2>Console chat - SignalR</h2>

<div class="container">

    <div class="row"></div>
    <div class="row">
        <div class="col-6"></div>
        <div class="col-6">
            user: <input type="text" id="userInput" />
            <br />
            message: <input type="text" id="messageInput" />
            <input type="button" id="sendButton" value="send meesage" />
        </div>
    </div>
    <div class="row">
        <hr />
    </div>
    <div class="row">
        <div class="col-6">&nbsp;</div>
        <div class="col-6">
            <ul id="messagesList"></ul>
        </div>
    </div>
</div>

<script src="~/Vendors/signalr-v1.1.0/signalr.js"></script>
<script src="~/scripts/chat.js"></script>